package com.itjh.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * Description:
 *
 * @Create 2025/1/18 13:26
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmpDto {
    private String name;
    private Short gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    LocalDate end;
}
